Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Directional Lights


Q3DirectionalLight_SetDirection

You can use the Q3DirectionalLight_SetDirection function to set the direction of a directional light.

TQ3Status Q3DirectionalLight_SetDirection (
TQ3LightObject light, 
const TQ3Vector3D *direction);
light
A directional light object.
direction
The desired direction of the specified light.
DESCRIPTION
The Q3DirectionalLight_SetDirection function sets the direction of the directional light specified by the light parameter to the value passed in the direction parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996